package com.jixin.pay.manager;


import com.jixin.jdpay.request.SignJdPayRequest;
import com.jixin.jdpay.request.TradeJdPayRequest;
import com.jixin.pay.domain.PayResponse;
import com.jixin.pay.domain.PayResult;

public interface JdPayManager {

	/**
	 * 网银在线签约
	 * @param tradeRequest
	 * @return
	 */
	PayResponse signJdPay(SignJdPayRequest tradeRequest);

	/**
	 * 网银在线交易支付
	 * @param tradeRequest
	 * @return
	 */
	PayResponse tradeJdPay(TradeJdPayRequest tradeRequest);

	/**
	 * 网银在线查询已支付订单
	 * @param orderNo
	 * @return
	 */
	PayResponse queryJdPay(String orderNo);

	/**
	 * 解析网银在线或调信息
	 * @param resp
	 * @return
	 */
	PayResult queryNotifyResp(String resp);
	
	
	
	
	
	
}
